package com.maxmlr.music.common.constant;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @ClassName FileType
 * @Description TODO
 * @Author maxiao
 * @Date 2020/6/14 下午4:15
 * @Version V1.0
 */
public class DictConstant {


    /**
     * 文件类型
     */
    @Getter
    @AllArgsConstructor
    public enum FileTypes {
        /**
         * 空或所有
         */
        ALL(0, "all","空或所有" ),
        /**
         * 图片
         */
        IMG(1, "img","图片" ),
        /**
         * 音乐
         */
        MUSIC(2, "music","音乐" ),

        /**
         * 视频
         */
        VIDEO(3, "video","视频" ),
        /**
         * 文档
         */
        DOCUMENT(4, "doc","文档" ),

        /**
         * other
         */
        OTHER(99, "other","其它" ),

        ;

        private int key;
        private String path;
        private String desc;
    }
}
